
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace Anonym.Data.Entities
{
    /// <summary>
    /// 菜单
    /// </summary>
    public class Cms_Menu
    {
        
        /// <summary>
        /// Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long ID { get; set; } = 0;

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; } = string.Empty;

        /// <summary>
        /// 排序值
        /// </summary>
        public long IndexId { get; set; } = 0;

        /// <summary>
        /// 是否显示；0：隐藏，1：显示
        /// </summary>
        public int IsView { get; set; } = 0;

        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { get; set; } = string.Empty;

        /// <summary>
        /// 跳转类型
        /// </summary>
        public string TargetType { get; set; } = string.Empty;

        /// <summary>
        /// 跳转框架
        /// </summary>
        public string Target { get; set; } = string.Empty;

        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get; set; } = string.Empty;

        /// <summary>
        /// 地址
        /// </summary>
        public string Url { get; set; } = string.Empty;

        /// <summary>
        /// 父编号
        /// </summary>
        public long FId { get; set; } = 0;

        /// <summary>
        /// id关系路径；逗号隔开的id
        /// </summary>
        public string Path { get; set; } = string.Empty;

        /// <summary>
        /// 公司id
        /// </summary>
        public long CompanyId { get; set; } = 0;

    }
}

